<template>
  <div class = 'home_frame'>
    <div class='font_style' >墨书</div>
    <a-button status="danger" shape="round" style="float: right;margin-top: 10px;margin-right: 80px" @click="clickButton()">登录/注册</a-button>
    <a-popover title="在这里你可以做到">
      <a-button style="float:right;margin-right: 150px;margin-top: 10px" type="outline">产品信息</a-button>
      <template #content>
        <p/>
        <p>1.进行多人的团队开发</p>
        <p>2.利用原型设计实现快速交互</p>
        <p>3.通过增添文档完善项目信息</p>
        <p>4...</p>
        <p>加入我们来了解更多功能吧！</p>
      </template>
    </a-popover>
  </div>
  <a-layout class="home_content">
  <div class="img_container">
<!--    <img class="img_wrap" src="src/assets/images/moshu.jpg">-->
    <div class="font_style2">软工团队协作</div>
    <div class="font_style3">与管理平台</div>
  </div>
  </a-layout>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const clickButton = () =>{
  console.log('点击');
  router.push({name:'login'});
}
</script>

<style scoped>
.img_wrap{
  width:1600px;
  height:850px;
  vertical-align:middle;
}
.home_frame{
  line-height: 50px;
  height: 50px;
}
.font_style{
  display: inline-block ;
  float: left;
  margin-left: 80px;
  font-family: Cursive, "Courier New", monospace;
  font-size: 40px;
}
.home_content{
  display: flex;
  flex-direction: column;
  background-image: url("/src/assets/images/p6.jpg");
  background-size: 100% 100%;
  /* background-attachment: fixed;*/

  width: 100%;
  height: 100%;
  min-width: 500px;
  min-height: 1000px;

  justify-content: center;
  align-items: center;
}
.font_style2{
  font-size: 80px;

  text-align: center;

  background-image: -webkit-linear-gradient(left, #155ece, #e79eba 25%, #08207c 50%, #b5a1ff 75%, #147B96);

  -webkit-text-fill-color: transparent;

  -webkit-background-clip: text;

  -webkit-background-size: 200% 100%;

  -webkit-animation: masked-animation 4s infinite linear;

}

@-webkit-keyframes masked-animation {

  0%{ background-position: 0 0;}

  100% { background-position: -100% 0;}

}
.font_style3{
  text-align: center;
  font-size: 80px;
}
</style>
